// pages/profile/profile.js
Page({
  data:{
    cardType:{
      firstLine:[
        {
          icon:"/assets/imgs/idCard.svg",
          content:"身份证",
          type:"IDCard",
        },
        {
          icon: "/assets/imgs/bankCard.svg",
          content:"银行卡",
          type: "BankCard",
        },
      ],
      secondLine:[
        {}, {}, {}, {},
      ],
    }
  },
  // 处理点击
  handleItem(event){
    wx.navigateTo({
      url: `/pages/typeDetail/typeDetail?item=${JSON.stringify(event.currentTarget.dataset.item)}`,
    })
  },
})